package com.saurshaz.testmvc.dao;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.saurshaz.testmvc.Node;

public class SimpleDao extends HibernateDaoSupport{
	
	public List<Node> getAllNodes(){
		return getSession().getNamedQuery("findAllNodes").list();
	}

}
